package com.arges.web.domain.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 用户
 * 
 * @author zxj
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "doctor")
public class Doc implements java.io.Serializable
{

	@Id
	@SequenceGenerator(name = "doctor", sequenceName = "SEQ_DOCTOR")
	@GeneratedValue(generator = "doctor", strategy = GenerationType.AUTO)
	private Long id;

	// 职工号
	@Column(name = "ENO")
	private String eno;

	@Column(name = "NAME")
	private String name;

	@Column(name = "PASSWORD")
	private String password;

	// 状态
	@Column(name = "STATUS")
	private int status;

	// 权限
	@Column(name = "PMSN")
	private String pmsn;

	public int getStatus()
	{
		return status;
	}

	public void setStatus(int status)
	{
		this.status = status;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getEno()
	{
		return eno;
	}

	public void setEno(String eno)
	{
		this.eno = eno;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getPmsn()
	{
		return pmsn;
	}

	public void setPmsn(String pmsn)
	{
		this.pmsn = pmsn;
	}

}
